diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-top/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-top/page.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-top/page.tsx b/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-top/page.tsx index 5c96c85d..0949d9a0 100644 --- a/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-top/page.tsx +++ b/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-top/page.tsx @@ -7,14 +7,17 @@ import { RFQListTable } from "@/lib/techsales-rfq/table/rfq-table" import { type SearchParams } from "@/types/table" import * as React from "react" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" interface HullRfqPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } export default async function HullRfqPage(props: HullRfqPageProps) { // searchParams를 await하여 resolve const searchParams = await props.searchParams - + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') // 해양 TOP용 파라미터 파싱 const search = searchParamsTopCache.parse(searchParams); const validFilters = getValidFilters(search.filters); @@ -35,7 +38,7 @@ export default async function HullRfqPage(props: HullRfqPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 기술영업-해양 TOP Budgetary RFQ + {t('menu.tech_sales.budgetary_top')} </h2> <InformationButton pagePath="evcp/budgetary-tech-sales-top" /> </div> |
